export const tableOption = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "dialogClickModal": false,
  "searchMenuSpan": 6,
  labelWidth: 140,
  "column": [
	  {
      "type": "input",
      "label": "编号",
      "prop": "id",
      hide: true,
      addDisplay: false,
      editDisplay: false,
      "span": 12
    },	  {
      "type": "select",
      "label": "单位",
      "prop": "unitId",
      search: true,
      dicUrl: '/act/visitingunit/page?size=-1',
      props: {
        label: 'name',
        value: 'unitId',
        res: "data.records"
      },
      rules: [{
        required: true,
        message: "请选择单位",
      }],
      "span": 12
    // },	  {
    //   "type": "input",
    //   "label": "访客编号",
    //   "prop": "visitorId",
    //   "span": 12
    // },	  {
    //   "type": "input",
    //   "label": "名称",
    //   "prop": "visitorName",
    //   "span": 12
    },	  {
      "type": "date",
      "label": "黑名单起始时间",
      "prop": "startDate",
      format: 'yyyy-MM-dd',
      valueFormat: 'yyyy-MM-dd',
      rules: [{
        required: true,
        message: "请选择黑名单起始时间",
      }],
      "span": 12
    },	  {
      "type": "date",
      "label": "黑名单结束时间",
      format: 'yyyy-MM-dd',
      valueFormat: 'yyyy-MM-dd',
      "prop": "endDate",
      rules: [{
        required: true,
        message: "请选择黑名单结束时间",
      }],
      "span": 12
    },	  {
      "type": "textarea",
      "label": "备注",
      "prop": "remark",
      maxlength: 512,
      "span": 24
    },	  {
      "type": "input",
      "label": "创建时间",
      "prop": "createTime",
      hide: true,
      editDisabled: true,
      addDisplay: false,
      "span": 12
    },	  {
      "type": "input",
      "label": "更新时间",
      "prop": "updateTime",
      hide: true,
      editDisabled: true,
      addDisplay: false,
      "span": 12
    }  ]
}
